package com.sinochem.yunlian.ship.base.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 
 * 
 * @author wh
 * @email ${email}
 * @date 2017-11-23 16:09:21
 */
@Table(name = "bs_message_sys")
public class BsMessageSys implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Long id;
	
	    //接收消息员工id
    @Column(name = "user_id")
    private Long userId;
	
	    //消息id
    @Column(name = "message_id")
    private Long messageId;
	
	    //消息详情
    @Column(name = "message_info")
    private String messageInfo;
	
	    //消息类型(0:邀请信息;1:系统消息)
    @Column(name = "message_type")
    private Integer messageType;
	
	    //消息标题
    @Column(name = "message_title")
    private String messageTitle;


	@Column(name = "status")
	private int status;

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：接收消息员工id
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：接收消息员工id
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：消息id
	 */
	public void setMessageId(Long messageId) {
		this.messageId = messageId;
	}
	/**
	 * 获取：消息id
	 */
	public Long getMessageId() {
		return messageId;
	}
	/**
	 * 设置：消息详情
	 */
	public void setMessageInfo(String messageInfo) {
		this.messageInfo = messageInfo;
	}
	/**
	 * 获取：消息详情
	 */
	public String getMessageInfo() {
		return messageInfo;
	}
	/**
	 * 设置：消息类型(0:邀请信息;1:系统消息)
	 */
	public void setMessageType(Integer messageType) {
		this.messageType = messageType;
	}
	/**
	 * 获取：消息类型(0:邀请信息;1:系统消息)
	 */
	public Integer getMessageType() {
		return messageType;
	}
	/**
	 * 设置：消息标题
	 */
	public void setMessageTitle(String messageTitle) {
		this.messageTitle = messageTitle;
	}
	/**
	 * 获取：消息标题
	 */
	public String getMessageTitle() {
		return messageTitle;
	}
}
